package com.itheima;

/**
 * @auther Macrydy
 * @date 2020/7/7 14:28
 */
public class SellTicket {
    public static void main(String[] args) {
        Ticket ticket = new Ticket();

        Thread t1 = new Thread(ticket,"窗口一");
        Thread t2 = new Thread(ticket,"窗口二");
        Thread t3 = new Thread(ticket,"窗口三");

        t1.start();
        t2.start();
        t3.start();

    }
}
